#include <vector>

class Animation
{
private:
     int timer = 0;     // 动画计时器
     int idx_frame = 0; // 动画帧索引
     int interval_ms = 0;
     std::vector<IMAGE *> frame_list;

public:
     Animation(LPCTSTR path, int num, int interval);
     void play(int x, int y, int delta);
     ~Animation();
};

